package com.witframework.baseapp.security;

public class DataSetAuthVo {
	private String id;
	private String category;
	private String username;
	private String role_id;
	private String rolename;
	private String authnames;
	private String target;
	private String targetname;
	private String usercnname;
	
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getRole_id() {
		return role_id;
	}
	public void setRole_id(String role_id) {
		this.role_id = role_id;
	}
	public String getAuthnames() {
		return authnames;
	}
	public void setAuthnames(String authnames) {
		this.authnames = authnames;
	}
	public void addAuthname(String name) {
		if(authnames!=null)			
			authnames = authnames+","+name;
		else
			authnames=name;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public String getUsercnname() {
		return usercnname;
	}
	public void setUsercnname(String usercnname) {
		this.usercnname = usercnname;
	}
	public String getTargetname() {
		return targetname;
	}
	public void setTargetname(String targetname) {
		this.targetname = targetname;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
}
